package com.mall.common.context;

import lombok.Data;

@Data
public class RunTimeConttentData {
    private static final ThreadLocal<RunTimeConttentData> local = ThreadLocal.withInitial(RunTimeConttentData::new);

    private String userId;

    public static RunTimeConttentData getInstance(){
        return local.get();
    }
}
